import Vue from 'vue'
import App from './App.vue'


Vue.config.productionTip = false;

//定义全局的过滤器
Vue.filter("addFilter1", (value , num) =>{
  return "￥" + value.toFixed(num)
})

//定义全局的命令
Vue.directive("AddColor" , (ele) => {
  ele.style.color = "red"
})

new Vue({
  render: h => h(App),
}).$mount('#app')
